<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%String contextPath = request.getContextPath();%>
<html>
<head>
    <title>后台登录</title>
    <script src="<%=contextPath%>/static/jquery-3.2.1.min.js"></script>
    <script src="<%=contextPath%>/static/bootstrap/js/bootstrap.js"></script>
    <link href="<%=contextPath%>/static/bootstrap/css/bootstrap.css" rel="stylesheet"/>
    <link href="<%=contextPath%>/static/bootstrap/css/bootstrap-theme.css" rel="stylesheet"/>
    <link href="<%=contextPath%>/static/css/signin.css" rel="stylesheet"/>
    <link rel="shortcut icon" href="<%=contextPath%>/img/bitbug_favicon.ico" type="image/x-icon" />

</head>
<body>
<div class="container">

    <form class="form-signin" action="/admin/dologin" method="post">
        <h2 class="form-signin-heading">后台管理人员登录入口</h2>


<%-- <%=request.getAttribute("error")%>--%>

        <label for="inputEmail" class="sr-only">请输入ID</label>
        <input type="text" id="inputEmail" name="userId" value="" class="form-control" placeholder="id" required autofocus>
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" id="inputPassword" value="" name="password" class="form-control" placeholder="password" required>
        <div class="checkbox">
            <label>
                <input type="checkbox" value="remember-me"> 记住我
                 <span style="color: red">${error}</span>

            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    </form>

</div>
</body>
</html>
